package java56_4;

public class WhileTest {

	public static void main(String[] args) {
		// 0-100之间的偶数
		int start = 0;
		int sum = 0;
		// while(start<=100 && start%3==0)
		while (start <= 100) {
			if (start % 2 == 0) {
				sum += start;
			}
			start++;
		}
		System.out.println("结果是" + sum);
	}

}
